package org.curso.potter;

public class CalculadoraPrecio {

	private Stock stock;

	public Stock getStock() {
		return stock;
	}

	public void setStock(Stock stock) {
		this.stock = stock;
	}

	public int getPrecioTotal(int[] productos) {
		return stock.getPrecio(productos[0]);
	}
	
}
